package com.woniu.mapper;

import com.woniu.entity.DrugDistribution;
import com.woniu.vo.DrugDistributionVO;

import java.util.List;

/**
* @author 11214
* @description 针对表【drug_distribution(药品发放表)】的数据库操作Mapper
* @createDate 2025-11-07 14:20:53
* @Entity com.woniu.entity.DrugDistribution
*/
public interface DrugDistributionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(DrugDistribution record);

    int insertSelective(DrugDistribution record);

    DrugDistribution selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DrugDistribution record);

    int updateByPrimaryKey(DrugDistribution record);

    List<DrugDistributionVO> findPrescriptionsByPatientId(Integer patientId);
}
